Dynomotion

Group: DynoMotion Message: 14589 From: geast1967 Date: 4/13/2017
Subject: Relative coordinates position error.
Attachments :
Hi everyone.
I try to cut those parts , see attached gcode. When i start from beginning everything is ok and the parts are cut as they should. The problem starts when i wanted to cut part 47 for example start (M3) at line 801.
I had the coordinate zeroed, by means of the zero button on the right of the x,y DROs.The cursor on the gcode program was by means of the "Set next statement" pointed on line 801 where the M3 is of the part 47.
When i pressed the start button the machine started exactly where it was at X0,Y0 instead of traveling at position X:1330.504 Y:1328.989.
The coordinates where set manual at rel. I try the same gcode at mach3 and works fine, with the function "run from here".What do i do wrong, or the KMotionCNC can't handle relative coordinates?.


  @@attachment@@
Group: DynoMotion Message: 14592 From: Tom Kerekes Date: 4/14/2017
Subject: Re: Relative coordinates position error. [1 Attachment]
Set Next Statement is not supported with relative moves. Mach3 uses a different approach and runs through the entire file which can cause other problems. KMotionCNC tries to avoid that by working backwards. 

Can't you switch to absolute coordinates?

Regards
TK

On Apr 13, 2017, at 4:58 PM, g.astras@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi everyone.
I try to cut those parts , see attached gcode. When i start from beginning everything is ok and the parts are cut as they should. The problem starts when i wanted to cut part 47 for example start (M3) at line 801.
I had the coordinate zeroed, by means of the zero button on the right of the x,y DROs.The cursor on the gcode program was by means of the "Set next statement" pointed on line 801 where the M3 is of the part 47.
When i pressed the start button the machine started exactly where it was at X0,Y0 instead of traveling at position X:1330.504 Y:1328.989.
The coordinates where set manual at rel. I try the same gcode at mach3 and works fine, with the function "run from here".What do i do wrong, or the KMotionCNC can't handle relative coordinates?.


Group: DynoMotion Message: 14594 From: geast1967 Date: 4/14/2017
Subject: Re: Relative coordinates position error. [1 Attachment]
The problem is that there is another machine in the factory that works only with relative coordinates.
The customer wants to have the same gcode file to be able to work in which ever machine is available.
Sure the cad program is able to produce files with relative or absolute coordinates but, then he must make two gcode files every time, one for relative and one for absolute.